package meta

const (
	StateReady    = "Ready"
	StateNotReady = "NotReady"
	StateUnKnown  = "UnKnown"
)

type InstanceRunTime struct {
	AppGuid        string `json:"guid" yaml:"guid" xorm:"guid"`
	AppPlatform    string `json:"platform" yaml:"platform" xorm:"platform"`
	Cells          string `json:"cells" yaml:"cells" xorm:"cells"`
	Containers     string `json:"containers" yaml:"containers" xorm:"containers"`
	Status         string `json:"status" yaml:"status" xorm:"status"`
	ContainersInfo string `json:"containers_info" yaml:"containers_info" xorm:"containers_info"`
}

type AgentRunTime struct {
	AgentGuid  string `json:"guid" yaml:"guid" xorm:"guid"`
	CellsCount int64  `json:"counts" yaml:"counts" xorm:"counts"`
	Cells      string `json:"cells" yaml:"cells" xorm:"cells"`
	Platform   string `json:"platform" yaml:"platform" xorm:"platform"`
	Hosts      string `json:"hosts" yaml:"hosts" xorm:"hosts"`
	Containers string `json:"containers" yaml:"containers" xorm:"containers"`
}
